package common.BaseView
{
	import com.lz.football.module.base.IComponent;
	
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	/**
	 *鼠标操作 
	 * @author Administrator
	 * 
	 */	
	public class ItemMouseEvent extends Sprite implements IComponent, IItemMouseEvent
	{
		private var _data:Object;
		/**
		 *tips 
		 */
		private var _tips:Object;
		public function ItemMouseEvent()
		{
			super();
		}
		
		public function initUI(view:Object=null):void
		{
		}
		
		public function addEvtListener():void
		{
			this.addEventListener(MouseEvent.CLICK,onMouseClick);
			this.addEventListener(MouseEvent.ROLL_OUT,onMouseRollOut);
			this.addEventListener(MouseEvent.ROLL_OVER,onMouseRollOver);
		}
		
		public function removeEvtListener():void
		{
			this.removeEventListener(MouseEvent.CLICK,onMouseClick);
			this.removeEventListener(MouseEvent.ROLL_OUT,onMouseRollOut);
			this.removeEventListener(MouseEvent.ROLL_OVER,onMouseRollOver);
		}
		
		public function destroyView():void
		{
		}
		
		public function onMouseRollOut(event:MouseEvent):void
		{
		}
		
		public function onMouseRollOver(event:MouseEvent):void
		{
		}
		
		public function onMouseClick(event:MouseEvent):void
		{
		}

		/**
		 * 
		 */
		public function get data():Object
		{
			return _data;
		}

		/**
		 * @private
		 */
		public function set data(value:Object):void
		{
			_data = value;
		}
		public function get tips():Object
		{
			return 	_tips;
		}
		/**
		 * 
		 * @param value
		 * 
		 */
		public function set tips(value:Object):void
		{
			_tips = value;
		}
	}
}